package com.ljf.config.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 配置中心  config_dat_key_value  枚举
 *
 * @author LJF
 * @since 2025-01-25
 */
@Getter
@AllArgsConstructor
public enum TaskConfigDatKeyValueEnum implements ConfigDatKeyValueEnum {

    TASK_TABULATION_COMMIT_FUNCTION_MESSAGE_FORMAT("task", "taskTabulation", "commitFunctionMessageFormat"),
    TASK_TABULATION_COMMIT_REPAIR_BUG_MESSAGE_FORMAT("task", "taskTabulation", "commitRepairBugMessageFormat");

    @JsonProperty("belongService")
    @ApiModelProperty(value = "归属服务")
    private final String belongService;

    @JsonProperty("tableKey")
    @ApiModelProperty(value = "关键字(表)")
    private final String tableKey;

    @JsonProperty("businessKey")
    @ApiModelProperty(value = "关键字(业务)")
    private final String businessKey;

}
